package com.sjms._10_结构_组合模式;

public abstract class ANode {
    int level;
    String path;
    String name;

    public ANode(String name, String path, int level) {
        this.level = level;
        this.path = path;
        this.name = name;
    }

    abstract void add(ANode obj);

    abstract void remove(int index);

    abstract void print();

}
